package com.sims.eo;

import java.sql.Timestamp;

/**
 * SimsStudent entity. @author MyEclipse Persistence Tools
 */

public class SimsStudent implements java.io.Serializable {

	private Long id;
	private String studentName;
	private String studentNumber;
	private String sex;
	private Double height;
	private String department;
	private String major;

	private String qqNumber;
	private String cellphone;
	private String lockFlag;
	private String activityStatus;
	private Timestamp createdDate;
	private Timestamp lastUpdateDate;

	private Long gradeId;
	private Long classId;

	// private SimsGrade simsGrade;
	// private SimsClass simsClass;

	// Constructors

	/** default constructor */
	public SimsStudent() {
	}

	/** full constructor */
	public SimsStudent(long id, String studentName) {
		this.id = id;
		this.studentName = studentName;
	}

	/** full constructor */
	public SimsStudent(String studentName, String studentNumber, String sex,
			Double height, String department, String major, Long gradeId,
			Long classId, String qqNumber, String cellphone, String lockFlag,
			String activityStatus, Timestamp createdDate,
			Timestamp lastUpdateDate) {
		this.studentName = studentName;
		this.studentNumber = studentNumber;
		this.sex = sex;
		this.height = height;
		this.department = department;
		this.major = major;
		// this.gradeId = gradeId;
		// this.classId = classId;
		this.qqNumber = qqNumber;
		this.cellphone = cellphone;
		this.lockFlag = lockFlag;
		this.activityStatus = activityStatus;
		this.createdDate = createdDate;
		this.lastUpdateDate = lastUpdateDate;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getStudentName() {
		return this.studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getStudentNumber() {
		return this.studentNumber;
	}

	public void setStudentNumber(String studentNumber) {
		this.studentNumber = studentNumber;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Double getHeight() {
		return this.height;
	}

	public void setHeight(Double height) {
		this.height = height;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getMajor() {
		return this.major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getQqNumber() {
		return this.qqNumber;
	}

	public void setQqNumber(String qqNumber) {
		this.qqNumber = qqNumber;
	}

	public String getCellphone() {
		return this.cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getLockFlag() {
		return this.lockFlag;
	}

	public void setLockFlag(String lockFlag) {
		this.lockFlag = lockFlag;
	}

	public String getActivityStatus() {
		return this.activityStatus;
	}

	public void setActivityStatus(String activityStatus) {
		this.activityStatus = activityStatus;
	}

	public Timestamp getCreatedDate() {
		return this.createdDate;
	}

	public void setCreatedDate(Timestamp createdDate) {
		this.createdDate = createdDate;
	}

	public Timestamp getLastUpdateDate() {
		return this.lastUpdateDate;
	}

	public void setLastUpdateDate(Timestamp lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

	public Long getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public Long getClassId() {
		return this.classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	// public SimsGrade getSimsGrade() {
	// return simsGrade;
	// }
	//
	// public void setSimsGrade(SimsGrade simsGrade) {
	// this.simsGrade = simsGrade;
	// }
	//
	// public SimsClass getSimsClass() {
	// return simsClass;
	// }
	//
	// public void setSimsClass(SimsClass simsClass) {
	// this.simsClass = simsClass;
	// }
	// Fields

	@Override
	public String toString() {
		return "SimsStudent [id=" + id + ", studentName=" + studentName
				+ ", studentNumber=" + studentNumber + ", sex=" + sex
				+ ", height=" + height + ", department=" + department
				+ ", major=" + major + ", qqNumber=" + qqNumber
				+ ", cellphone=" + cellphone + ", lockFlag=" + lockFlag
				+ ", activityStatus=" + activityStatus + ", createdDate="
				+ createdDate + ", lastUpdateDate=" + lastUpdateDate
				+ ", gradeId=" + gradeId + ", classId=" + classId + "]";
	}
}